package com.bclz;

import java.util.Timer;

import com.bclz.schedule.CleanLogTask;
import com.bclz.schedule.CollectorTask;


/**
 * 
* @ClassName: App  
* @Description: 启动定时器 
* @author xuchang  
* @date 2018年9月11日
 */
public class App {
	
	
	public static void main(String[] args) {
		
		Timer time=new Timer();
		time.schedule(new CollectorTask(), 0, 60*60*1000L);
		
		Timer time2=new Timer();
		time2.schedule(new CleanLogTask(), 0, 60*1000L);
		
	}
	
}
